Optimal. Leaf size=62 \[ -\frac {3 \cot (c+d x)}{a d}-\frac {\cot ^3(c+d x)}{a d}-\frac {\cot ^5(c+d x)}{5 a d}+\frac {\tan (c+d x)}{a d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 62, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {3254, 2700,
276} \begin {gather*} \frac {\tan (c+d x)}{a d}-\frac {\cot ^5(c+d x)}{5 a d}-\frac {\cot ^3(c+d x)}{a d}-\frac {3 \cot (c+d x)}{a d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 276
Rule 2700
Rule 3254
Rubi steps
\begin {align*} \int \frac {\csc ^6(c+d x)}{a-a \sin ^2(c+d x)} \, dx &=\frac {\int \csc ^6(c+d x) \sec ^2(c+d x) \, dx}{a}\\ &=\frac {\text {Subst}\left (\int \frac {\left (1+x^2\right )^3}{x^6} \, dx,x,\tan (c+d x)\right )}{a d}\\ &=\frac {\text {Subst}\left (\int \left (1+\frac {1}{x^6}+\frac {3}{x^4}+\frac {3}{x^2}\right ) \, dx,x,\tan (c+d x)\right )}{a d}\\ &=-\frac {3 \cot (c+d x)}{a d}-\frac {\cot ^3(c+d x)}{a d}-\frac {\cot ^5(c+d x)}{5 a d}+\frac {\tan (c+d x)}{a d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 70, normalized size = 1.13 \begin {gather*} \frac {-\frac {11 \cot (c+d x)}{5 d}-\frac {3 \cot (c+d x) \csc ^2(c+d x)}{5 d}-\frac {\cot (c+d x) \csc ^4(c+d x)}{5 d}+\frac {\tan (c+d x)}{d}}{a} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.25, size = 45, normalized size = 0.73
method | result | size |
derivativedivides | \(\frac {\tan \left (d x +c \right )-\frac {1}{5 \tan \left (d x +c \right )^{5}}-\frac {3}{\tan \left (d x +c \right )}-\frac {1}{\tan \left (d x +c \right )^{3}}}{d a}\) | \(45\) |
default | \(\frac {\tan \left (d x +c \right )-\frac {1}{5 \tan \left (d x +c \right )^{5}}-\frac {3}{\tan \left (d x +c \right )}-\frac {1}{\tan \left (d x +c \right )^{3}}}{d a}\) | \(45\) |
risch | \(-\frac {32 i \left (5 \,{\mathrm e}^{4 i \left (d x +c \right )}-4 \,{\mathrm e}^{2 i \left (d x +c \right )}+1\right )}{5 d a \left ({\mathrm e}^{2 i \left (d x +c \right )}-1\right )^{5} \left ({\mathrm e}^{2 i \left (d x +c \right )}+1\right )}\) | \(60\) |
norman | \(\frac {\frac {1}{160 a d}+\frac {7 \left (\tan ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{80 a d}+\frac {35 \left (\tan ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{32 a d}-\frac {35 \left (\tan ^{6}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{8 a d}+\frac {35 \left (\tan ^{8}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{32 a d}+\frac {7 \left (\tan ^{10}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{80 a d}+\frac {\tan ^{12}\left (\frac {d x}{2}+\frac {c}{2}\right )}{160 a d}}{\tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{5} \left (\tan ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )-1\right )}\) | \(151\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.30, size = 52, normalized size = 0.84 \begin {gather*} \frac {\frac {5 \, \tan \left (d x + c\right )}{a} - \frac {15 \, \tan \left (d x + c\right )^{4} + 5 \, \tan \left (d x + c\right )^{2} + 1}{a \tan \left (d x + c\right )^{5}}}{5 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.37, size = 77, normalized size = 1.24 \begin {gather*} -\frac {16 \, \cos \left (d x + c\right )^{6} - 40 \, \cos \left (d x + c\right )^{4} + 30 \, \cos \left (d x + c\right )^{2} - 5}{5 \, {\left (a d \cos \left (d x + c\right )^{5} - 2 \, a d \cos \left (d x + c\right )^{3} + a d \cos \left (d x + c\right )\right )} \sin \left (d x + c\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} - \frac {\int \frac {\csc ^{6}{\left (c + d x \right )}}{\sin ^{2}{\left (c + d x \right )} - 1}\, dx}{a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.41, size = 52, normalized size = 0.84 \begin {gather*} \frac {\frac {5 \, \tan \left (d x + c\right )}{a} - \frac {15 \, \tan \left (d x + c\right )^{4} + 5 \, \tan \left (d x + c\right )^{2} + 1}{a \tan \left (d x + c\right )^{5}}}{5 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 13.96, size = 50, normalized size = 0.81 \begin {gather*} \frac {\mathrm {tan}\left (c+d\,x\right )}{a\,d}-\frac {3\,{\mathrm {tan}\left (c+d\,x\right )}^4+{\mathrm {tan}\left (c+d\,x\right )}^2+\frac {1}{5}}{a\,d\,{\mathrm {tan}\left (c+d\,x\right )}^5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________